Optimal. Leaf size=39 \[ \frac{b n \text{PolyLog}\left (2,-\frac{e x}{d}\right )}{e}+\frac{\log \left (\frac{e x}{d}+1\right ) \left (a+b \log \left (c x^n\right )\right )}{e} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0260456, antiderivative size = 39, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111, Rules used = {2317, 2391} \[ \frac{b n \text{PolyLog}\left (2,-\frac{e x}{d}\right )}{e}+\frac{\log \left (\frac{e x}{d}+1\right ) \left (a+b \log \left (c x^n\right )\right )}{e} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2317
Rule 2391
Rubi steps
\begin{align*} \int \frac{a+b \log \left (c x^n\right )}{d+e x} \, dx &=\frac{\left (a+b \log \left (c x^n\right )\right ) \log \left (1+\frac{e x}{d}\right )}{e}-\frac{(b n) \int \frac{\log \left (1+\frac{e x}{d}\right )}{x} \, dx}{e}\\ &=\frac{\left (a+b \log \left (c x^n\right )\right ) \log \left (1+\frac{e x}{d}\right )}{e}+\frac{b n \text{Li}_2\left (-\frac{e x}{d}\right )}{e}\\ \end{align*}
Mathematica [A] time = 0.0066954, size = 37, normalized size = 0.95 \[ \frac{b n \text{PolyLog}\left (2,-\frac{e x}{d}\right )+\log \left (\frac{e x}{d}+1\right ) \left (a+b \log \left (c x^n\right )\right )}{e} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.167, size = 195, normalized size = 5. \begin{align*}{\frac{b\ln \left ( ex+d \right ) \ln \left ({x}^{n} \right ) }{e}}-{\frac{bn\ln \left ( ex+d \right ) }{e}\ln \left ( -{\frac{ex}{d}} \right ) }-{\frac{bn}{e}{\it dilog} \left ( -{\frac{ex}{d}} \right ) }+{\frac{{\frac{i}{2}}\ln \left ( ex+d \right ) b\pi \,{\it csgn} \left ( i{x}^{n} \right ) \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{2}}{e}}-{\frac{{\frac{i}{2}}\ln \left ( ex+d \right ) b\pi \,{\it csgn} \left ( i{x}^{n} \right ){\it csgn} \left ( ic{x}^{n} \right ){\it csgn} \left ( ic \right ) }{e}}-{\frac{{\frac{i}{2}}\ln \left ( ex+d \right ) b\pi \, \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{3}}{e}}+{\frac{{\frac{i}{2}}\ln \left ( ex+d \right ) b\pi \, \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{2}{\it csgn} \left ( ic \right ) }{e}}+{\frac{b\ln \left ( ex+d \right ) \ln \left ( c \right ) }{e}}+{\frac{a\ln \left ( ex+d \right ) }{e}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} b \int \frac{\log \left (c\right ) + \log \left (x^{n}\right )}{e x + d}\,{d x} + \frac{a \log \left (e x + d\right )}{e} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b \log \left (c x^{n}\right ) + a}{e x + d}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{a + b \log{\left (c x^{n} \right )}}{d + e x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \log \left (c x^{n}\right ) + a}{e x + d}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]